<template>
  <div>
    <img src="../assets/结算页面.png" alt="" style="height: 400px; width: 300px;">
    <!-- <el-button type="success" plain @click="reBack">返回首页</el-button> -->
    <el-button type="success" @click="open">重新开始</el-button>
  </div>
</template>

<script>
export default {
  methods:{
    open() {
        this.$confirm('确定要重新开始游戏吗?', '提示', {
          confirmButtonText: '确定',
          cancelButtonText: '取消',
          type: 'warning'
        }).then(() => {
          // alert('666')
          this.$router.push('/game')
        }).catch(() => {
                   
        });
      }
  }
}
</script>

<style>

</style>